package com.example.gitproject;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

@ServletComponentScan
@SpringBootApplication
@EnableCaching
public class GitprojectApplication {

    public static void main(String[] args) {

        //   @SpringBootApplication   应用程序启动类   调用run()方法去启动程序
        SpringApplication.run(GitprojectApplication.class, args);


        System.out.println("启动成功");
        System.out.println("第二次提交的代码");
    }

}
